﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="SystemConfigurationManager.cs" company="http://mockingbird.codeplex.com">
// THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
// KIND, WHETHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
// PURPOSE.
// </copyright>
// --------------------------------------------------------------------------------------------------------------------

using System.IO;

namespace MockingBird.Simulator.Framework.Configuration
{
    using System;
    using System.Configuration;
    using System.Diagnostics;
    using System.Threading;
    using MockingBird.Common.Infrastructure.Configuration;
    using SC = System.Configuration;

    /// <summary>
    /// Manages all the configuration for the MockingBird System.
    /// The primary purpose is to move any application configuration info
    /// outside of web.config. 
    /// when normal configuration sections are required, it behaves just 
    /// like the NetFx configuration manager and returns sections so the caller
    /// uses them in whatever manner they choose. Strongtyping these sections
    /// would then tightly couple the caller to this class. 
    /// </summary>
    public class SystemConfigurationManager
    {
        public SC.ConfigurationSectionGroup MockingBirdConfiguration { get; private set; }

        public SystemConfigurationManager()
        {
            Debug.WriteLine(string.Format("SystemConfigurationManager.ctor on thread ID: {0}", Thread.CurrentThread.ManagedThreadId));
        }


    }
}
